package com.up.stores.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author KLE1NBLUE&LackOxy
 * @since 2022-11-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Lib对象", description="")
public class Libconsum implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "实验室耗材id")
    @TableId(value = "libcon_id", type = IdType.AUTO)
    private Integer libconId;

    @ApiModelProperty(value = "归属的实验室")
    private Integer libId;

    @ApiModelProperty(value = "商品id")
    private Integer proId;

    @ApiModelProperty(value = "数量")
    private Integer num;

    @ApiModelProperty(value = "是否为自动管理：0-不是，1-是")
    private Integer isDefault;

    @ApiModelProperty(value = "最低库存量")
    private Integer minimum_num;
}
